package com.huijiet.vo;

import lombok.Data;

public class NewsVo {

    @Data
    public static class ListVo{
        private Integer newsId;

        private String title;           //标题
        private String imgUrl;          //图片
        private String imgViewUrl;      //直接访问的图片地址

        /**
         新闻类型
         11: 贸易咨询 - 信保政策
         12: 贸易咨询 - 海关政策
         13: 贸易咨询 - 金融政策
         2:  公司动态
         */
        private Integer newsType;
        private Integer newsState;      //新闻状态(0:未发布, 1:已发布)
        private String createTime;        //创建时间
        private String publishTime;       //发布时间
    }

    @Data
    public static class GetVo{
        private Integer newsId;
        private String title;
        private String summary;         //摘要
        private String imgUrl;
        private String imgViewUrl;      //直接访问的图片地址
        private Integer newsType;
        private Integer newsState;
        private String createTime;
        private String content;
    }

    @Data
    public static class WebListVo{
        private String title;
        private String imgUrl;
        private String time;
        private Integer newsId;
        private String url;
    }

    @Data
    public static class DetailVo{
        private String title;
        private Integer newsType;
        private String publishTime;
        private String content;
    }

    @Data
    public static class PageListVo{
        private Integer newsId;
        private String title;           //标题
        private String summary;
        private String imgViewUrl;      //直接访问的图片地址
        private String publishTime;       //发布时间
    }
}
